#ifndef _SYS_HALT_H_
#define _SYS_HALT_H_

#include "HT66F0185.h"
#include "Timer.h"
#include "GPIO.h"
#include "RAM.h"


#define WDTC_OFF() 		{ _wdtc = 0xaf;}

#define HALTTIME_MS 60000

#define BLE_WAKEUP_IO _pa4 

void fun_SysInit();
void fun_SysHalt();

extern volatile unsigned int gu16v_HaltTime; 

#endif



